import { post } from '@/utils/request'

var commonApi = {
  // 银行名称
  getBankNameList: (param) => {
    return post('_ajax.do?method=manager.parameter.QueryParaByTypes', param, '银行名称查询', 'manager.parameter.QueryParaByTypes')
  },
  // 权限接口
  getRoot: (param) => {
    return post('_ajax.do?method=function.GetfunctiomByRoleNoList', param, '权限查询', 'function.GetfunctiomByRoleNoList')
  },
  // 错误码翻译
  getErrorCode: (param) => {
    return post('_ajax.do?method=manager.parameter.QueryParaByCodeKey', param, '错误码翻译', 'manager.parameter.QueryParaByCodeKey')
  }
}

export default commonApi
